import 'package:flutter/material.dart';

import 'package:get/get.dart';
import 'package:getx_learn/app/common/widgets/widgets.dart';
import 'package:getx_learn/app/routes/app_pages.dart';

import '../controllers/weichat_post_controller.dart';

class WeichatPostView extends GetView<WeichatPostController> {
  const WeichatPostView({Key? key}) : super(key: key);
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: getAppBar(context: context, title: "仿微信朋友圈发布"),
      body: ListView(
        children: [
          ListTile(
            title: Text("打开图片页面"),
            subtitle: Text("打开图片选择页面"),
            onTap: (){
              Get.toNamed(Routes.TIMELINE);
            },
          ),

          Divider(),
        ],
      ),
    );
  }
}
